﻿ALTER TABLE [dbo].[t_PurchaseBatch_Loans]
    ADD CONSTRAINT [FK_t_PurchaseBatch_Loans_t_PurchaseBatch] FOREIGN KEY ([BatchID]) REFERENCES [dbo].[t_PurchaseBatch] ([ID]) ON DELETE CASCADE ON UPDATE NO ACTION;

